package com.ysd.lis.entity.lab;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ysd.lis.entity.BaseEntity;
import com.ysd.lis.entity.BaseEntityJpa;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * <p>
 *
 * </p>
 *
 * @author wanghao
 * @since 2024-01-24
 */
@Entity
@Table(name = "LAB_TEXT_RESULT")
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("LAB_TEXT_RESULT")
public class LabTextResult extends BaseEntityJpa {

    private static final long serialVersionUID = 1L;

    /**
     * 报告项目id
     */
    @Deprecated
    @Column(name = "ITEM_DICT_ID")
    @TableField("ITEM_DICT_ID")
    private String itemDictId;

    /**
     * 编号
     */
    @Column(name = "CODE")
    @TableField("CODE")
    private String code;

    /**
     * 文字结果
     */
    @Column(name = "RESULT")
    @TableField("RESULT")
    private String result;

    /**
     * 结果标志
     */
    @Column(name = "RESULT_SIGN")
    @TableField("RESULT_SIGN")
    private String resultSign;

    /**
     * 是否自动审核
     */
    @Column(name = "IS_AUTO_EXAMINE")
    @TableField("IS_AUTO_EXAMINE")
    private Integer isAutoExamine;

    /**
     * 是否需复查
     */
    @Column(name = "IS_REVIEW")
    @TableField("IS_REVIEW")
    private Integer isReview;

    /**
     * 快速输入码
     */
    @Column(name = "QUICK_INPUT_CODE")
    @TableField("QUICK_INPUT_CODE")
    private String quickInputCode;

    /**
     * 排序码
     */
    @Column(name = "SEQ")
    @TableField("SEQ")
    private Integer seq;

    /**
     * 类别
     */
    @Column(name = "TYPE")
    @TableField("TYPE")
    private String type;

    /**
     * 包含此文字即可
     */
    @Column(name = "INCLUDE_TEXT")
    @TableField("INCLUDE_TEXT")
    private Integer includeText;


    //是否危急值
    @Column(name = "IS_CRITICAL")
    @TableField("IS_CRITICAL")
    private Integer isCritical;

    //是否危急值
    @Column(name = "TRANSTYPE")
    @TableField("TRANSTYPE")
    private Integer transtype;

    //危急值标识
    @Column(name = "DISPLAY_TEXT")
    @TableField("DISPLAY_TEXT")
    private String displayText;

    //报告单元编码
    @Column(name = "RPT_GROUP")
    @TableField("RPT_GROUP")
    private String rptGroup;

    //报告项目编码
    @Column(name = "ITEM_NO")
    @TableField("ITEM_NO")
    private String itemNo;

    //是否在报告隐藏
    @Column(name = "IS_HIDE_RPT")
    @TableField("IS_HIDE_RPT")
    private String isHideRpt;

    //是否大文本
    @Column(name = "IS_BIG_TEXT")
    @TableField("IS_BIG_TEXT")
    private String isBigText;
}
